package Thread;

public class Demo9 {
    public static void main(String[] args) {
        Thread  t=new Thread(()->{
            while(true){
                System.out.println(Thread.currentThread().getName());
            }
        });
        t.start();
        t.start();
    }
}
